import cv2


def disable_cv2show():
    def namedWindow(*args):
        return

    def imshow(*args):
        return

    def waitKey(*args):
        return

    def resizeWindow(*args):
        return

    def destroyWindow(*args):
        return

    cv2.imshow = imshow
    cv2.waitKey = waitKey
    cv2.namedWindow = namedWindow
    cv2.resizeWindow = resizeWindow
    cv2.destroyAllWindows = destroyWindow


disable_cv2show()
